package com.scuec.tourismwebsite.service;

import com.github.pagehelper.PageInfo;
import com.scuec.tourismwebsite.entity.WeatherForecast;
import com.scuec.tourismwebsite.entity.City;
import com.scuec.tourismwebsite.vo.ViewWeatherForecastWithCity;

import java.util.Date;
import java.util.List;
//
public interface WeatherForecastService {
    List<ViewWeatherForecastWithCity> findWeatherForecastWithCity();
    PageInfo<ViewWeatherForecastWithCity> findWeatherForecastPages(Integer pageNum,Integer pageSize);
    Integer insertWeatherForecast(WeatherForecast weatherForecast);
    Integer updateWeatherForecast(WeatherForecast weatherForecast);
    Integer deleteWeatherForecast(Integer forecast_id);
    /*List<ViewWeatherForecastWithCity> findWeatherForecastByCityAndDate(String city_name, String province, Date forecast_date);*/
}

